//角色装备
class EquipmentModel {
    constructor(opts) {}

    static getInstance() {
        if (!EquipmentModel.instance) {
            EquipmentModel.instance = new EquipmentModel();
        }
        return EquipmentModel.instance;
    }

    create(opts) {
        opts = opts || {};
        return {
            weapon: opts.weapon || 0, //主手武器
            head: opts.head || 0, //身体
            body: opts.body || 0, //头
            foot: opts.foot || 0, //脚
            hand: opts.hand || 0, //手
            ring: opts.ring || 0, //戒指
            ear: opts.ear || 0, //耳环
        }
    }
}


export default EquipmentModel.getInstance();